@inherits PartialViewMacroPage
@using Umbraco.Cms.Web
@using Umbraco.Cms.Web.Macros
@using Umbraco.Framework
@{
    string moduleType = string.Empty;
    if (DynamicModel.NodeTypeAlias == "eLOCourse")
    {
        moduleType = "Course";
    }
    else if(DynamicModel.NodeTypeAlias == "eLOChapter")
    {
        moduleType = "Chapter";
    }
    else
    {
        moduleType = "Page";
    }
}
<div id="elo_header_container">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr>
        <td align="left" style="width:50%; padding-left:15px">
            <p>@moduleType:<br/><span class="eloHeadTitle">@Model.MacroParameters.Title</span></p>
        </td>
        <td align="right" style="width:50%; padding-right:20px">
            <a href="/elearning/csharp/test-chapter/"><img style="height:28px;width:100px" alt="Next" src="http://pbdeskcdn.appspot.com/images/btns/next-button04.png" class="eloTopNavRollover"></a>
        </td>
    </tr>
</table>
</div>